package com.zhiyi.coco.service.impl;

import com.zhiyi.coco.dao.JobMapper;
import com.zhiyi.coco.entity.Job;
import com.zhiyi.coco.service.JobService;
import lombok.extern.log4j.Log4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
@Log4j
public class JobServiceImpl implements JobService {
    @Autowired
    private JobMapper mapper;

    @Override
    public List<Job> getAllJob() {
        return mapper.getAllJob();
    }
}
